/*
 *  IOCOM.h
 *  Ndist
 *
 *  Created by Diego Andrade on 1/27/11.
 *  Copyright 2011 Carnegie Mellon University. All rights reserved.
 *
 */



class IOEVENTS
{

   struct coordinates_2D {
        float x;
        float y;
    }coor;  
    
      
    struct triangle_vertices_structure {
        int a;
        int b;
        int c;
    }ver;  
    
	
public:
	IOEVENTS();
	~IOEVENTS();
	
	void io_read_mpxtxt_files (void); //it reads the whole file as a block
	void io_read_mpxtxt_line (char* file); //it reads the file and parse it into lines
	
	//void io_read_mpxtxt_line (char* file); //it reads the file and parse it into lines
	
	int n1,n2,n3,n4;
	
	float** io_matrix(int SIZE);	//Crea una matriz cuadrada de tamano size
	
public:
    float** MV; //This array carries the coordinates recoverd from comsol files coordinates
    int* A; 
    int* B; 
    int* C;
    
	
};




